package priv.pattern.statemodel.example2;

import priv.pattern.statemodel.example2.service.Istate;

/*
 * 作者：m鹏h
 * 时间；2024/8/11 0:21
 * 描述：
 **/
public class ConText {
    private Istate state;

    public void setState(Istate state) {
        this.state = state;
        state.handle1();
        state.handle2();
    }
}
